home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Programming / powerd / modules.lha / modules / graphics / videocontrol.m < prev    next >
Encoding:
Text File  |  2000-06-03  |  3.7 KB  |  101 lines

  1. CONST    VTAG_END_CM                        =$00000000,
  2.         VTAG_CHROMAKEY_CLR            =$80000000,
  3.         VTAG_CHROMAKEY_SET            =$80000001,
  4.         VTAG_BITPLANEKEY_CLR            =$80000002,
  5.         VTAG_BITPLANEKEY_SET            =$80000003,
  6.         VTAG_BORDERBLANK_CLR            =$80000004,
  7.         VTAG_BORDERBLANK_SET            =$80000005,
  8.         VTAG_BORDERNOTRANS_CLR        =$80000006,
  9.         VTAG_BORDERNOTRANS_SET        =$80000007,
  10.         VTAG_CHROMA_PEN_CLR            =$80000008,
  11.         VTAG_CHROMA_PEN_SET            =$80000009,
  12.         VTAG_CHROMA_PLANE_SET        =$8000000A,
  13.         VTAG_ATTACH_CM_SET            =$8000000B,
  14.         VTAG_NEXTBUF_CM                =$8000000C,
  15.         VTAG_BATCH_CM_CLR                =$8000000D,
  16.         VTAG_BATCH_CM_SET                =$8000000E,
  17.         VTAG_NORMAL_DISP_GET            =$8000000F,
  18.         VTAG_NORMAL_DISP_SET            =$80000010,
  19.         VTAG_COERCE_DISP_GET            =$80000011,
  20.         VTAG_COERCE_DISP_SET            =$80000012,
  21.         VTAG_VIEWPORTEXTRA_GET        =$80000013,
  22.         VTAG_VIEWPORTEXTRA_SET        =$80000014,
  23.         VTAG_CHROMAKEY_GET            =$80000015,
  24.         VTAG_BITPLANEKEY_GET            =$80000016,
  25.         VTAG_BORDERBLANK_GET            =$80000017,
  26.         VTAG_BORDERNOTRANS_GET        =$80000018,
  27.         VTAG_CHROMA_PEN_GET            =$80000019,
  28.         VTAG_CHROMA_PLANE_GET        =$8000001A,
  29.         VTAG_ATTACH_CM_GET            =$8000001B,
  30.         VTAG_BATCH_CM_GET                =$8000001C,
  31.         VTAG_BATCH_ITEMS_GET            =$8000001D,
  32.         VTAG_BATCH_ITEMS_SET            =$8000001E,
  33.         VTAG_BATCH_ITEMS_ADD            =$8000001F,
  34.         VTAG_VPMODEID_GET                =$80000020,
  35.         VTAG_VPMODEID_SET                =$80000021,
  36.         VTAG_VPMODEID_CLR                =$80000022,
  37.         VTAG_USERCLIP_GET                =$80000023,
  38.         VTAG_USERCLIP_SET                =$80000024,
  39.         VTAG_USERCLIP_CLR                =$80000025,
  40. /* The following tags are V39 specific. They will be ignored (returing error -3) by
  41.     earlier versions */
  42.         VTAG_PF1_BASE_GET                =$80000026,
  43.         VTAG_PF2_BASE_GET                =$80000027,
  44.         VTAG_SPEVEN_BASE_GET            =$80000028,
  45.         VTAG_SPODD_BASE_GET            =$80000029,
  46.         VTAG_PF1_BASE_SET                =$8000002a,
  47.         VTAG_PF2_BASE_SET                =$8000002b,
  48.         VTAG_SPEVEN_BASE_SET            =$8000002c,
  49.         VTAG_SPODD_BASE_SET            =$8000002d,
  50.         VTAG_BORDERSPRITE_GET        =$8000002e,
  51.         VTAG_BORDERSPRITE_SET        =$8000002f,
  52.         VTAG_BORDERSPRITE_CLR        =$80000030,
  53.         VTAG_SPRITERESN_SET            =$80000031,
  54.         VTAG_SPRITERESN_GET            =$80000032,
  55.         VTAG_PF1_TO_SPRITEPRI_SET    =$80000033,
  56.         VTAG_PF1_TO_SPRITEPRI_GET    =$80000034,
  57.         VTAG_PF2_TO_SPRITEPRI_SET    =$80000035,
  58.         VTAG_PF2_TO_SPRITEPRI_GET    =$80000036,
  59.         VTAG_IMMEDIATE                    =$80000037,
  60.         VTAG_FULLPALETTE_SET            =$80000038,
  61.         VTAG_FULLPALETTE_GET            =$80000039,
  62.         VTAG_FULLPALETTE_CLR            =$8000003A,
  63.         VTAG_DEFSPRITERESN_SET        =$8000003B,
  64.         VTAG_DEFSPRITERESN_GET        =$8000003C,
  65.  
  66. /* all the following tags follow the new, rational standard for videocontrol tags:
  67.  * VC_xxx,state        set the state of attribute 'xxx' to value 'state'
  68.  * VC_xxx_QUERY,&var    get the state of attribute 'xxx' and store it into the longword
  69.  *            pointed to by &var.
  70.  *
  71.  * The following are new for V40:
  72.  */
  73.  
  74.         VC_IntermediateCLUpdate        =$80000080,
  75.     /* default=true. When set graphics will update the intermediate copper
  76.      * lists on color changes, etc. When false, it won't, and will be faster.
  77.      */
  78.         VC_IntermediateCLUpdate_Query=$80000081,
  79.  
  80.         VC_NoColorPaletteLoad        =$80000082,
  81.     /* default = false. When set, graphics will only load color 0
  82.      * for this ViewPort, and so the ViewPort's colors will come
  83.      * from the previous ViewPort's.
  84.      *
  85.      * NB - Using this tag and VTAG_FULLPALETTE_SET together is undefined.
  86.      */
  87.         VC_NoColorPaletteLoad_Query=$80000083,
  88.  
  89.         VC_DUALPF_Disable                =$80000084,
  90.     /* default = false. When this flag is set, the dual-pf bit
  91.        in Dual-Playfield screens will be turned off. Even bitplanes
  92.        will still come from the first BitMap and odd bitplanes
  93.        from the second BitMap, and both R[xy]Offsets will be
  94.        considered. This can be used (with appropriate palette
  95.        selection) for cross-fades between differently scrolling
  96.        images.
  97.        When this flag is turned on, colors will be loaded for
  98.        the viewport as if it were a single viewport of depth
  99.        depth1+depth2 */
  100.         VC_DUALPF_Disable_Query        =$80000085
  101.